displayMode

abstract fun displayMode(): DisplayMode

Returns the display-mode CSS media feature for the browser.

Since

7.38

Throws

when the browser is closed


abstract fun displayMode(displayMode: DisplayMode)

Overrides the display-mode CSS media feature for the browser with the given one.

It does not affect the appeal of the browser view. It only changes the value of the CSS media feature.

Since

7.38

Parameters

displayMode

a display mode for the browser

Throws

when the browser is closed